package lzyc.pointsManagement.business.activity.mapper;


import lzyc.pointsManagement.business.activity.domain.ActivityInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author liuyuan
* @description 针对表【learning_activity】的数据库操作Mapper
* @createDate 2024-03-08 22:05:33
* @Entity .domain.LearningActivity
*/
@Mapper
public interface ActivityInfoMapper {
    void addActivityInfo(ActivityInfo activityInfo);

    List<ActivityInfo> queryAllByCodeOrName(ActivityInfo activityInfo);

    void updateActivityInfo(ActivityInfo activityInfo);

    void deleteActivityInfo(String id);

    ActivityInfo selectActivityInfoById(String id);

    List<ActivityInfo> selectActivityInfoList();

    List<ActivityInfo> selectActivityInfoListByPage(@Param("offset") int offset, @Param("size") int size);

}




